package org.br.plotter.functions;

public class MinusFunction extends Function {
	private Function function;

	public MinusFunction(Function function) {
		this.function = function;
	}

	public double eval(double x) {
		return -function.eval(x);
	}

}